package com.micromall.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 产品类别中间表
 * </p>
 *
 * @author Dante Fung
 * @since 2017-07-26
 */
@TableName("BUSI_PROD_CATEGORY")
public class BusiProdCategory extends Model<BusiProdCategory> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("ID")
	private String id;
    /**
     * 产品外键
     */
	@TableField("PROD_ID")
	private String prodId;
    /**
     * 类别外键
     */
	@TableField("CATEGORY_ID")
	private String categoryId;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
